INF File Functions

The following functions are used with INF files.

SetupCloseInfFileABLUDA

Frees resources and closes the INF handle.

SetupDecompressOrCopyFile22S91ZP

Copies a file and, if necessary, decompresses it.

SetupFindFirstLine5ODYOE

Finds a the first line in a section of an INF file or, if a key is specified, the first line that matches that key. It updates the Line member of an INFCONTEXT5LV11T structure.

SetupFindNextLine14DANTT

Returns the next line in a section relative to the Line member of the specified INFCONTEXT5LV11T structure.

SetupFindNextMatchLine2KZNIC

Returns the next line in a section relative to the Line member of the specified INFCONTEXT5LV11T that matches a specified key.

SetupGetBinaryField1216G_A

Retrieves data from a line whose fields are in binary format.

SetupGetFieldCount.DEM16

Returns the number of fields in a line.

SetupGetFileCompressionInfoNC.K8H

Retrieves file compression information from an INF file.

SetupGetInfFileList1MK7ENX

Gets a list of the types of INF files in a specified directory.

SetupGetInfInformationLCA0LF

Returns information about an INF file (by Line member of an INFCONTEXT5LV11T or filename).

SetupGetIntField1MIVAHG

Returns the specified integer field of a line in an INF file.

SetupGetLineByIndex3P02514

Updates the Line member of an INFCONTEXT5LV11T for the line at a specified index in the specified section.

SetupGetLineCount15GM4WX

Returns the number of lines in the specified section.

SetupGetLineText3WY0_H_

Retrieves the content of a specified line from an INF file.

SetupGetMultiSzField1G2N7S4

Returns a list of strings, starting at the specified field of a line in an INF file.

SetupGetSourceFileLocationC7M3CE

Gets the source disk ordinal and path (relative to source root) where the source file is located

SetupGetSourceFileSize.OFDGZ

Gets the file size for an individual source file or a Copy Files94WX0. section of an INF file.

SetupGetSourceInfo1OI5_ZX

Retrieves the path, tag file, or description for a source.

SetupGetStringField3VBJSM

Returns the specified string field of a line in an INF file.

SetupGetTargetPathW.OJRD

Gets the target path for a Copy Files94WX0. section in an INF file.

SetupInstallFile5WF_..

Installs a file.

SetupInstallFileEx13S.0Q6

Installs a file and returns a variable indicating whether or not the file was in use.

SetupInstallFilesFromInfSectionLKNZCT

Queues all the files in an INF file Copy Files94WX0. section.

SetupInstallFromInfSectionK132WM

Performs the directives specified in an INF file Install3AN5O2 section.

SetupInstallServicesFromInfSection2ISFPV5

Performs service installation and deletion operations as specified in a Service InstallJ_WXBF section of an INF file.

SetupOpenAppendInfFile132.P6I

Opens an INF file and append it to an existing INF handle.

SetupOpenInfFile1UU.WA

Opens an INF file and returns a handle to it.

SetupOpenMasterInf0YQR3R

Windows NT only: Opens the INF file that contains file and layout information for files shipped with Windows NT.

SetupQueryInfFileInformationI3Y7PI

Queries an INF information structure about its associated INF filename(s).

SetupQueryInfVersionInformation3XC8_A5

Queries an INF information structure for version information on one of its constituent INF files.

SetupSetDirectoryId1PNAZ4P

Associates a new directory identifier with a particular directory.